package com.sunny.service;

import com.sunny.pojo.House;
import com.sunny.pojo.SelectHouseCondition;
import com.sunny.utils.PageInformation;
import com.sunny.utils.PageUtil;
import com.sunny.utils.ServerResponse;
import com.sunny.vo.HouseVo;

/**
 * @ClassName:
 * @Description:
 * @author: yubao.jin
 * @date: 2018/5/13
 * @version:V1.0
 */
public interface IHouseService {
    ServerResponse add(House house);

    ServerResponse del(String[] id);

    PageInformation<House> list(PageUtil pageUtil, House house);

    PageInformation<HouseVo> customerList(PageUtil pageUtil, SelectHouseCondition house, Integer userId);

    ServerResponse search(House house);

    ServerResponse passOrNoPass(House house);
}
